export type ReceptionModel = {
  issueId: string | number //id
  id: string | number //id
  totalCount: number //列表个数
  list: any //列表
  entityId: any //实体id
  workFlowList: any //流程人员
  workAttendanceUserScopeList: any //应用人员范围
  workAttendanceRule: any //基础信息
  fileList: any //附件
}

const api: ApiConfig = {
  // 接待列表
  receptionList: {
    method: 'GET',
    url: '/oa/reception/reception/list'
  },
  // 接待-新增
  receptionAdd: {
    method: 'POST',
    url: '/oa/reception/reception/save'
  },
  // 接待-修改
  receptionUpdate: {
    method: 'POST',
    url: '/oa/reception/reception/update'
  },
  // 接待-详情
  receptionInfo: {
    method: 'GET',
    url: '/oa/reception/reception/info/:id'
  },
  // 接待-下载模板
  receptionDownLoad: {
    method: 'POST',
    url: '/oa/reception/reception/downloadReception',
    responseType: 'blob'
  }
}

export default api
